package com.atguigu.spzx.manager.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@ConfigurationProperties(prefix = "spzx.auth")  //属性前缀
//@Component  //方式一，声明组件
public class UserAuthProperties {

    //属性批量注入，需要提供get/set方法
    private List<String> noAuthUrls;
}
